package com.wbz.create.single;

public class SingleMain {
    public static void main(String[] args) {
        // 获取单例实例
        SingletonStaticInnerClass instance1 = SingletonStaticInnerClass.getInstance();
        SingletonStaticInnerClass instance2 = SingletonStaticInnerClass.getInstance();

        // 检查是否是同一个实例
        System.out.println(instance1 == instance2); // 输出 true
    }
}
